import request from '@/utils/request'
//法律法规管理列表
export function flfgManageList(params){
    return request({
        url:'/system/flfg/list',
        params,
        method:'get'
    })
}
//法律法规字典列表
export function flfgDictionariesList(params){
    return request({
        url:'/system/dic',
        method:'get',
        params
    })
}
//法律法规字典信息查询
export function flfgDictionariesInfo(params){
    return request({
        url:'/system/dic/info/'+params,
        method:'get'
    })
}
//保存法律法规字典信息
export function flfgDictionariesSave(data){
    return request({
        url:'/system/dic/save',
        method:'post',
        data
    })
}
//删除法律法规字典信息
export function flfgDictionariesRemove(params){
    return request({
        url:'/system/dic/remove',
        method:'delete',
        params
    })
}
//查询法律法规管理个人信息
export function flfgManageById(params){
    return request({
        url:'/system/flfg/info/'+params,
        method:'get',
    })
}
//保存法律法规管理信息
export function flfgManageSave(data){
    return request({
        url:'/system/flfg/save',
        method:'post',
        data
    })
}
//删除法律法规管理信息
export function flfgManageRemove(params){
    return request({
        url:'/system/flfg/remove/'+params,
        method:'delete',
    })
}
//查询用户信息
export function listUser(){
    return request({
        url:'/system/user/list',
        method:'get'
    })
}
//查询部门信息
export function listDept(){
    return request({
        url:'/system/dept/list',
        method:'get'
    })
}
//查询部门树
export function deptTreeSelect() {
    return request({
      url: '/system/user/deptTree',
      method: 'get'
    })
  }
